import service from './service'

const api = {
  template: {
    get: (params: any) => service.get('/get', { params }),
    post: (data: any) => service.post('/post', data),
    upload: (data: any) => service.upload('/upload', data)
  }
}

export default api
